package com.xiaoyu.awakening.user.dto.req;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 手机号
 *
 * @author wangxiaoyu
 * @date 2024/6/6 15:01
 * @since v1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Valid
public class PhoneLoginReq extends LoginReq {
    @NotEmpty
    private String phoneNumber;
    @NotEmpty
    private String code;
}
